package com.moxiao.yfjh.module.activity.convert.packageInfo;

import java.util.*;

import com.moxiao.yfjh.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.moxiao.yfjh.module.activity.controller.admin.packageInfo.vo.*;
import com.moxiao.yfjh.module.activity.dal.dataobject.packageInfo.PackageInfoDO;

/**
 * 相亲套餐信息 Convert
 *
 * @author mx
 */
@Mapper
public interface PackageInfoConvert {

    PackageInfoConvert INSTANCE = Mappers.getMapper(PackageInfoConvert.class);

    PackageInfoDO convert(PackageInfoCreateReqVO bean);

    PackageInfoDO convert(PackageInfoUpdateReqVO bean);

    PackageInfoRespVO convert(PackageInfoDO bean);

    List<PackageInfoRespVO> convertList(List<PackageInfoDO> list);

    PageResult<PackageInfoRespVO> convertPage(PageResult<PackageInfoDO> page);

    List<PackageInfoExcelVO> convertList02(List<PackageInfoDO> list);

}
